﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace Qreed.Xna.Font
{
    public class ExtrudedFont : RenderFont
    {
        public ExtrudedFont(float extrudeLength)
        {
            _extrudeLength = extrudeLength;
        }

        private float _extrudeLength = 1.0f;
        /// <summary>
        /// Gets the length of the extrude.
        /// </summary>
        /// <value>The length of the extrude.</value>
        public float ExtrudeLength
        {
            get { return this._extrudeLength; }
        }

        /// <summary>
        /// Creates a new mesh item.
        /// </summary>
        /// <returns></returns>
        protected override VectorFontCharacterMesh CreateNewMeshItem()
        {
            return new ExtrudedFontCharacterMesh(this);
        }
    }
}
